package com.eva.eip.admin.dao.cms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eva.eip.admin.biz.cms.category.dto.QueryCmsCategoryDTO;
import com.eva.eip.dao.cms.model.CmsCategory;
import com.eva.eip.admin.biz.cms.category.vo.CmsCategoryVO;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface CmsCategoryMapper extends BaseMapper<CmsCategory> {

    /**
     * 查询栏目管理
     *
     * @param dto QueryCategoryDTO
     * @return List<CategoryVO>
     */
    List<CmsCategoryVO> search(QueryCmsCategoryDTO dto);

}
